package com.cdu.practicaltraining.care.service;


import com.cdu.practicaltraining.pojo.Patients;
import com.cdu.practicaltraining.pojo.PatientsDetail;
import com.cdu.practicaltraining.pojo.Screening;

import java.util.List;

public interface PatientsService {
    // 添加患者信息
    int insertPatients(Patients patients) throws Exception;
    // 根据患者身份证号查询患者信息
    Patients findByIdCard(String idcard) throws Exception;
    // 最终执行添加患者信息
    boolean addPatients(Patients patients, PatientsDetail patientsDetail) throws Exception;
    // 获取所有的患者信息
    List<Patients> findAll() throws Exception;
    // 患者筛查
    int insertScreening(Screening screening) throws Exception;
    // 根据患者id查询患者信息
    Patients findById(int id) throws Exception;
}
